<?php

?>
<?php $form= \yii\widgets\ActiveForm::begin(['id'=>'addForm']);?>

<div>
    <?=$form->field($model, "goods_name")->textInput();?>
</div>
<div>
    <?=$form->field($model, "goods_price")->textInput();?>
</div>

<input type="submit" value="提交"/>




<?php \yii\widgets\ActiveForm::end();?>